package com.ygswglxt.notification;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.ygswglxt.notification.mapper")
public class NotificationApplication {
    public static void main(String[] args) {
        System.out.println("========================================");
        System.out.println("通知服务启动中...");
        System.out.println("RocketMQ消费者已注册:");
        System.out.println("  - attendance-topic (考勤通知)");
        System.out.println("  - leave-topic (请假通知)");
        System.out.println("========================================");
        SpringApplication.run(NotificationApplication.class, args);
    }
}

